package cn.lystudio.rohmtimeopwide_background_v11.service;

import cn.lystudio.rohmtimeopwide_background_v11.entity.dto.RecordDTO;
import cn.lystudio.rohmtimeopwide_background_v11.entity.po.RecordPO;
import cn.lystudio.rohmtimeopwide_background_v11.entity.vo.OpUserFullNameVO;
import cn.lystudio.rohmtimeopwide_background_v11.entity.vo.TimeRecord4ExcelVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecordService {
    List<RecordDTO> getAll(String userCode,
                           String machineNo,
                           List<String> recordTypeList,
                           String searchStartTime,
                           String searchEndTime,
                           String LotNo,
                           String AQRNo,
                           String otherKeywords);
    int delRecord(Integer recordID);
    List<RecordDTO> getDailyData4Console(String machineNo,
                                         String dailyStart,
                                         String dailyEnd);
    int AppInsertRecord(RecordPO recordPO);
    List<RecordPO> getUnfinishedRecord(String machineNo);
    int uptUnfinishedRecord(RecordPO recordPO);
    RecordPO getRecordByRecordID(int recordID);
    int uptRecordByRecordID(RecordPO recordPO);

    List<TimeRecord4ExcelVO> getTimeRecord(String machineNo, String beginDate, String endDate);

    OpUserFullNameVO getOpUserFullName(String machineNo, String beginDate, String endDate);


}
